Skip to content

Conversation

@noahhefner
Copy link

Hello and thank you for creating Flatnotes! I use it constantly in my homelab as my primary note taking system.

Opening this PR as a suggestion to address bug #326 where background elements can be focused while a modal is open. The implementation is pretty straightforward; a data-inert-scope attribute has been added to elements that should be non-focusable while a Modal is open. When a Modal is opened, a watch function will add the inert attribute to those elements, preventing them from being focused. When a Modal is closed, the inert attribute is removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant